gtk4.git
8 years agoMerge branch 'wip/matthiasc/snapshot' into 'master'
Matthias Clasen [Sun, 11 Mar 2018 05:39:00 +0000 (05:39 +0000)]
Merge branch 'wip/matthiasc/snapshot' into 'master'

Implement builder pattern for GtkSnapshot

See merge request GNOME/gtk!52

8 years agoUse GtkSnapshot getters
Matthias Clasen [Sun, 11 Mar 2018 05:29:46 +0000 (00:29 -0500)]
Use GtkSnapshot getters

We can avoid direct struct access and gtksnapshotprivate.h
everywhere.

8 years agoGtkSnapshot: Add getters
Matthias Clasen [Sun, 11 Mar 2018 05:17:53 +0000 (00:17 -0500)]
GtkSnapshot: Add getters

These getters can be useful when creating new snapshots
in a snapshot() vfunc.

8 years agoDocument new snapshot api
Matthias Clasen [Sun, 11 Mar 2018 02:29:46 +0000 (21:29 -0500)]
Document new snapshot api

8 years agoGtkSnapshot: Drop init/finish
Matthias Clasen [Sun, 11 Mar 2018 02:20:25 +0000 (21:20 -0500)]
GtkSnapshot: Drop init/finish

We are ont using stack-allocated snapshots anymore.

8 years agoStop using stack-allocated snapshots
Matthias Clasen [Sun, 11 Mar 2018 02:14:09 +0000 (21:14 -0500)]
Stop using stack-allocated snapshots

Use the new/free api instead of init/finish
for GtkSnapshot.

8 years agoGtkSnapshot: Implement the builder pattern
Matthias Clasen [Sun, 11 Mar 2018 01:52:06 +0000 (20:52 -0500)]
GtkSnapshot: Implement the builder pattern

Make GtkSnapshot a refcounted boxed type, and add
public API that follows the builder pattern described
here: https://blogs.gnome.org/otte/2018/02/03/builders/

8 years agoGdkCursor: Add some missing (nullable) annotations
Timm Bäder [Fri, 9 Mar 2018 10:57:23 +0000 (11:57 +0100)]
GdkCursor: Add some missing (nullable) annotations

8 years agospinbutton: Remove priv pointer
Timm Bäder [Wed, 7 Mar 2018 19:57:21 +0000 (20:57 +0100)]
spinbutton: Remove priv pointer

8 years agoAvoid warnings
Matthias Clasen [Fri, 9 Mar 2018 07:13:13 +0000 (02:13 -0500)]
Avoid warnings

When generating introspection data, we instantiate types without
calling gtk_init, so make sure that extension points are registered
before the type is trying to implement them.

8 years agox11: Avoid a division by zero
Pavel Roskin [Thu, 8 Mar 2018 14:58:42 +0000 (15:58 +0100)]
x11: Avoid a division by zero

This is similar to f44baf51d9e8616a but for RandR 1.3 servers like
x11rdp and Windows Exceed which don't return a refresh rate. Avoid a
crash when that happens.

https://bugzilla.gnome.org/show_bug.cgi?id=775546

8 years agoseparator: Remove priv pointer
Timm Bäder [Wed, 7 Mar 2018 19:37:00 +0000 (20:37 +0100)]
separator: Remove priv pointer

8 years agomenubutton: Remove priv pointer
Timm Bäder [Wed, 7 Mar 2018 19:26:51 +0000 (20:26 +0100)]
menubutton: Remove priv pointer

8 years agowidget: Add a translate_coordinates version for doubles
Timm Bäder [Wed, 7 Mar 2018 14:14:37 +0000 (15:14 +0100)]
widget: Add a translate_coordinates version for doubles

So we can use that one when translating event coordinates. Also adapt
the widgetfocus demo to ensure this works.

We should probably at some point delete either the int or the double
version.

8 years agolinkbutton: Remove priv pointer
Timm Bäder [Wed, 7 Mar 2018 13:02:19 +0000 (14:02 +0100)]
linkbutton: Remove priv pointer

8 years agoexpander: Remove label-fill property
Timm Bäder [Tue, 6 Mar 2018 20:25:01 +0000 (21:25 +0100)]
expander: Remove label-fill property

It's just setting some internal boolean and nothing else. It's like this
in gtk3 as well so it can't be too important either.

8 years agoMerge branch 'expander-add-like-bin' into 'master'
Timm Bäder [Wed, 7 Mar 2018 19:09:30 +0000 (19:09 +0000)]
Merge branch 'expander-add-like-bin' into 'master'

expander: Check for an existing child when adding

See merge request GNOME/gtk!48

8 years agooverlay: Add GtkOverlay::measure child property
Benjamin Otte [Wed, 7 Mar 2018 15:04:04 +0000 (16:04 +0100)]
overlay: Add GtkOverlay::measure child property

It determines whether a child is included in the overlay's size
measurement.

The first user is (gonna be) GtkVideo.

8 years agoeventcontroller: Remove unused evmask member variable
Benjamin Otte [Wed, 7 Mar 2018 01:02:28 +0000 (02:02 +0100)]
eventcontroller: Remove unused evmask member variable

8 years agoeventcontroller: Get rid of constructed vfunc
Benjamin Otte [Wed, 7 Mar 2018 00:56:32 +0000 (01:56 +0100)]
eventcontroller: Get rid of constructed vfunc

Instead, add the controller to the widget in set_property.

8 years agotexture: Add GdkMemoryTexture
Benjamin Otte [Tue, 6 Mar 2018 02:41:13 +0000 (03:41 +0100)]
texture: Add GdkMemoryTexture

GdkMemoryTexture is a texture implementation for holding data in memory
(read: GBytes). You specify the GdkMemoryFormat that data is in and off
you go.

Renderers can use this to add uploads in various different formats and
don't need to fallback to GDK doing the conersion on the CPU.

Supported formats can be extended if we need new ones, for now I just
added the relevant ones for Cairo and GdkPixbuf.

The constructor is also private still, because I'm not sure we want to
export GdkMemoryFormat.
Wrappers that do from_cairo_surface() and for_pixbuf() do exist though.

8 years agogdk: Split out GL texture
Benjamin Otte [Mon, 5 Mar 2018 13:38:38 +0000 (14:38 +0100)]
gdk: Split out GL texture

Put GdkGLTexture into its own file and rename the API to
gdk_gl_texture_foo() instead of gdk_texture_foo_for_gl().

Apart from naming, no actual code changes.

8 years agoimwayland: Fix parent type
Carlos Garnacho [Mon, 5 Mar 2018 17:51:00 +0000 (18:51 +0100)]
imwayland: Fix parent type

It was inadvertently changed in commit 15cc20e7b.

https://gitlab.gnome.org/GNOME/gtk/issues/58

Closes: #58
8 years agoUse gio-querymodules
Matthias Clasen [Wed, 7 Mar 2018 00:10:48 +0000 (19:10 -0500)]
Use gio-querymodules

GIO has this facility, so we should use it.
At the same time, make sure the immodules directory
exists, even if we don't install any modules there
outselves.

8 years agoMake debug messages work earlier
Matthias Clasen [Tue, 6 Mar 2018 23:57:16 +0000 (18:57 -0500)]
Make debug messages work earlier

We need to be able to produce debug output during module
loading. This change ensures that we can.

8 years agoUpdate French translation
Alexandre Franke [Tue, 6 Mar 2018 21:01:36 +0000 (21:01 +0000)]
Update French translation

8 years agoexpander: Check for an existing child when adding
Peter Bloomfield [Tue, 6 Mar 2018 19:26:08 +0000 (14:26 -0500)]
expander: Check for an existing child when adding

Now that GtkExpander subclasses GtkContainer instead of GtkBin, it needs
its own guard against adding more than one child.

Also, the documentation should no longer describe adding a child as if
it is descended from GtkBin.

8 years agoentry: Fix invisible cursors
Timm Bäder [Tue, 6 Mar 2018 19:04:30 +0000 (20:04 +0100)]
entry: Fix invisible cursors

8 years agoGdkSelectionInputStreamX11: Plug a memory leak
Timm Bäder [Tue, 6 Mar 2018 18:59:29 +0000 (19:59 +0100)]
GdkSelectionInputStreamX11: Plug a memory leak

8 years agoGdkSelectionOutputStreamX11: Plug a memory leak
Timm Bäder [Tue, 6 Mar 2018 18:47:18 +0000 (19:47 +0100)]
GdkSelectionOutputStreamX11: Plug a memory leak

8 years agoexpander: fix sizes in resize_toplevel
Timm Bäder [Tue, 6 Mar 2018 16:36:04 +0000 (17:36 +0100)]
expander: fix sizes in resize_toplevel

We can't use gtk_widget_get_allocation for either non-anchored widgets
(which happens with the child widget when the expander is unexpanded)
nor toplevel windows since that will include the window decorations.

Fixes #70 in gtk4

8 years agoviewport: Remove priv pointer
Timm Bäder [Tue, 6 Mar 2018 13:37:28 +0000 (14:37 +0100)]
viewport: Remove priv pointer

8 years agoexpander: Attach the gesture to the title widget
Timm Bäder [Mon, 5 Mar 2018 16:22:20 +0000 (17:22 +0100)]
expander: Attach the gesture to the title widget

Instead of tracking whether the click happened inside the title widget
ourselves, just attach the gesture to the title widget.

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 4 Mar 2018 19:24:16 +0000 (19:24 +0000)]
Update Latvian translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 4 Mar 2018 19:18:11 +0000 (19:18 +0000)]
Update Latvian translation

8 years agooverlay: Make forall() remove-safe
Timm Bäder [Sun, 4 Mar 2018 19:04:43 +0000 (20:04 +0100)]
overlay: Make forall() remove-safe

Since this is a GtkContainer, forall will be used to destroy all the
widgets.

8 years agooverlay: Fix GSlide/g_free mixup
Timm Bäder [Sun, 4 Mar 2018 19:04:17 +0000 (20:04 +0100)]
overlay: Fix GSlide/g_free mixup

We free the allocated data later using g_free, so don't use GSlice when
allocating it.

8 years agooverlay: Fix remove implementation
Timm Bäder [Sun, 4 Mar 2018 19:03:54 +0000 (20:03 +0100)]
overlay: Fix remove implementation

Use the child widget list of the overlay, not the passed child.

8 years agoimcontextxim: Move initialisation into _init function
Timm Bäder [Sun, 4 Mar 2018 18:55:54 +0000 (19:55 +0100)]
imcontextxim: Move initialisation into _init function

We are creating these using g_object_new, so the _new function is never
called, resulting in a NULL mb_charset. Fix this by moving the
initialisation into the _init function.

8 years agoMerge branch 'set-client-widget-nullable' into 'master'
Benjamin Otte [Sun, 4 Mar 2018 18:29:45 +0000 (18:29 +0000)]
Merge branch 'set-client-widget-nullable' into 'master'

gtkimcontextxim: fix gtk_im_context_xim_set_client_widget not handling widget=NULL

See merge request GNOME/gtk!46

8 years agogskpango: Don't create text nodes for clipped text
Timm Bäder [Sun, 4 Mar 2018 16:48:36 +0000 (17:48 +0100)]
gskpango: Don't create text nodes for clipped text

Measure the text here directly and check if the created node bounds will
be clipped away before even creating the text node.

8 years agorendernodes: Add gsk_text_node_new_with_bounds
Timm Bäder [Sun, 4 Mar 2018 16:35:17 +0000 (17:35 +0100)]
rendernodes: Add gsk_text_node_new_with_bounds

An alternative GskTextNode constructor that does no text measuring. That
way, we can measure the text before and check if the node will be
outside of the current clip anyway.

8 years agorendernodes: Add missing nullable annotation
Timm Bäder [Sun, 4 Mar 2018 16:25:49 +0000 (17:25 +0100)]
rendernodes: Add missing nullable annotation

8 years agogl renderer: Limit texture node size to clip
Timm Bäder [Sun, 4 Mar 2018 16:15:39 +0000 (17:15 +0100)]
gl renderer: Limit texture node size to clip

8 years agooverlay: Remove child list
Timm Bäder [Sat, 3 Mar 2018 11:28:05 +0000 (12:28 +0100)]
overlay: Remove child list

8 years agooverlay: Remove priv pointer
Timm Bäder [Sat, 3 Mar 2018 10:28:57 +0000 (11:28 +0100)]
overlay: Remove priv pointer

8 years agoglglyphcache: Pass lookup key to g_hash_table_lookup directly
Timm Bäder [Fri, 2 Mar 2018 16:22:46 +0000 (17:22 +0100)]
glglyphcache: Pass lookup key to g_hash_table_lookup directly

8 years agooverlay: Fix coordinates in child_update_style_classes
Timm Bäder [Thu, 1 Mar 2018 20:47:36 +0000 (21:47 +0100)]
overlay: Fix coordinates in child_update_style_classes

Both main child and all others are in the same coordinate space, so no
need to add the parent position here.

8 years agooverlay: Don't chain up in size_allocate
Timm Bäder [Thu, 1 Mar 2018 20:36:15 +0000 (21:36 +0100)]
overlay: Don't chain up in size_allocate

The GtkBin size_allocate implementation will allocate a size to the main
child, which GtkOverlay already does.

8 years agoentry: Remove priv pointer
Timm Bäder [Thu, 1 Mar 2018 17:42:59 +0000 (18:42 +0100)]
entry: Remove priv pointer

8 years agocontainer: Remove unused struct member
Timm Bäder [Thu, 1 Mar 2018 09:35:44 +0000 (10:35 +0100)]
container: Remove unused struct member

8 years agotestsuite: Remove GL text test case
Timm Bäder [Wed, 28 Feb 2018 15:03:35 +0000 (16:03 +0100)]
testsuite: Remove GL text test case

This was just testing that text nodes do alpha correctly, but the test
even breaks if the default font is different from the one that was used
to create the reference image, so drop it for now.

8 years agolabel: Simplify ensure_layout()
Timm Bäder [Wed, 28 Feb 2018 14:27:48 +0000 (15:27 +0100)]
label: Simplify ensure_layout()

use an early return for an already existing layout.

8 years agogtkimcontextxim: fix gtk_im_context_xim_set_client_widget not handling widget=NULL
Christoph Reiter [Sun, 4 Mar 2018 17:40:12 +0000 (18:40 +0100)]
gtkimcontextxim: fix gtk_im_context_xim_set_client_widget not handling widget=NULL

gtk_im_context_set_client_widget() allows passing NULL as widget to signal that
the widget no longer exists. The xim implementation didn't handle that
case which led to the test suite on gitlab-ci failing.

8 years agoMerge branch 'gi-a11y' into 'master'
Christoph Reiter [Sun, 4 Mar 2018 10:10:20 +0000 (10:10 +0000)]
Merge branch 'gi-a11y' into 'master'

Include gtk/gtk-a11y.h in introspection file.

See merge request GNOME/gtk!43

8 years agoMerge branch 'include-gtkstackaccessible' into 'master'
Christoph Reiter [Sun, 4 Mar 2018 09:43:34 +0000 (09:43 +0000)]
Merge branch 'include-gtkstackaccessible' into 'master'

a11y: Include gtkstackaccessible.h in gtk-a11y.h

See merge request GNOME/gtk!41

8 years agoInclude gtk/gtk-a11y.h in introspection file.
Tomasz Miąsko [Sat, 3 Mar 2018 00:00:00 +0000 (00:00 +0000)]
Include gtk/gtk-a11y.h in introspection file.

The gir XML file contains description of types and functions from
gtk/gtk-a11y.h. Indicate that this header should be included in addition
to gtk/gtk.h in applications written in C. #56

8 years agoa11y: Include gtkstackaccessible.h in gtk-a11y.h
Tomasz Miąsko [Sat, 3 Mar 2018 00:00:00 +0000 (00:00 +0000)]
a11y: Include gtkstackaccessible.h in gtk-a11y.h

8 years agoUpdate British English translation
Bruce Cowan [Fri, 2 Mar 2018 22:09:11 +0000 (22:09 +0000)]
Update British English translation

(cherry picked from commit 3059df0d4deb28875e3bd7c56c06f5c067264505)

8 years agoUpdate POTFILES.skip
Piotr Drąg [Fri, 2 Mar 2018 20:27:43 +0000 (21:27 +0100)]
Update POTFILES.skip

8 years agoUpdate POTFILES.skip
Piotr Drąg [Fri, 2 Mar 2018 20:26:21 +0000 (21:26 +0100)]
Update POTFILES.skip

8 years agogtk: Remove unused header files in gtk/ui/
Benjamin Otte [Sun, 25 Feb 2018 19:39:09 +0000 (20:39 +0100)]
gtk: Remove unused header files in gtk/ui/

8 years agoentry: Remove cursor adjustment APIs
Benjamin Otte [Mon, 26 Feb 2018 13:01:29 +0000 (14:01 +0100)]
entry: Remove cursor adjustment APIs

8 years agocss: Parse hex colors with alpha value
Benjamin Otte [Thu, 1 Mar 2018 00:08:05 +0000 (01:08 +0100)]
css: Parse hex colors with alpha value

The CSS color spec version 4 introduces this, support has hit Safari,
Chrome and Firefox, so this looks like a feature that's here to stay.

https://drafts.csswg.org/css-color/#hex-notation

8 years agoUpdate POTFILES.in
Piotr Drąg [Thu, 1 Mar 2018 17:38:05 +0000 (18:38 +0100)]
Update POTFILES.in

8 years agoMerge branch 'quartz-missing-config-include-gtk4' into 'master'
Christoph Reiter [Thu, 1 Mar 2018 13:46:26 +0000 (13:46 +0000)]
Merge branch 'quartz-missing-config-include-gtk4' into 'master'

macos: Fix missing gdk symbol exports for gtk dnd

See merge request GNOME/gtk!39

8 years agomacos: export gdk_quartz_drag_source_context()
Christoph Reiter [Thu, 1 Mar 2018 13:31:57 +0000 (14:31 +0100)]
macos: export gdk_quartz_drag_source_context()

It's used in the gtk dnd code but not exported in gdk.
Append a "_libgtk_only" suffix as with other internal exports and
export the symbol.

See #32

8 years agoci: Store the logs on build failure
Emmanuele Bassi [Thu, 1 Mar 2018 10:09:22 +0000 (17:09 +0700)]
ci: Store the logs on build failure

We should save the logs directory when the CI pipeline fails, so that we
have a chance at debugging the failure.

8 years agoci: Update the configuration options
Emmanuele Bassi [Thu, 1 Mar 2018 10:08:27 +0000 (17:08 +0700)]
ci: Update the configuration options

The options were renamed in commit 7b32900c5574.

8 years agoxim: Use NULL-safe string comparison
Emmanuele Bassi [Thu, 1 Mar 2018 09:44:02 +0000 (16:44 +0700)]
xim: Use NULL-safe string comparison

The locale string may be NULL.

8 years agoMerge branch 'wip/matthiasc/immodule-cleanup' into 'master'
Matthias Clasen [Thu, 1 Mar 2018 06:38:39 +0000 (06:38 +0000)]
Merge branch 'wip/matthiasc/immodule-cleanup' into 'master'

Convert immodules to use an extension point

See merge request GNOME/gtk!34

8 years agoentry: Simplify cursor management
Timm Bäder [Tue, 27 Feb 2018 14:13:14 +0000 (15:13 +0100)]
entry: Simplify cursor management

Since cursors are per-widget now and the icons are widgets, we can just
set the cursors once.

8 years agomacos: Fix gdk_quartz_drag_context_get_dragging_info_libgtk_only symbol export
Christoph Reiter [Tue, 27 Feb 2018 18:53:43 +0000 (19:53 +0100)]
macos: Fix gdk_quartz_drag_context_get_dragging_info_libgtk_only symbol export

The header got included without config.h being included first which resulted in the
wrong _GDK_EXTERN macro being used. As a result some symbols weren't exported
and starting a DnD action would crash in the linker.

This patch adds config.h includes in all places where clang complained about
_GDK_EXTERN redefinitions.

See #32 for more info.

8 years agobuild: Error if no backends enabled
Patrick Griffis [Tue, 27 Feb 2018 18:42:28 +0000 (13:42 -0500)]
build: Error if no backends enabled

8 years agogl: Make blur nodes with radius ∈ ]0; 1[
Timm Bäder [Tue, 27 Feb 2018 13:22:08 +0000 (14:22 +0100)]
gl: Make blur nodes with radius ∈ ]0; 1[

Otherwise, the radius here ends up being 0 and we don't draw anything at
all.

8 years agogsk: Increase blur node bounds by blur radius
Timm Bäder [Tue, 27 Feb 2018 13:12:25 +0000 (14:12 +0100)]
gsk: Increase blur node bounds by blur radius

Otherwise, the resulting node will be too small and the result looks
clipped.

8 years agotests: Add testblur
Timm Bäder [Tue, 27 Feb 2018 11:51:07 +0000 (12:51 +0100)]
tests: Add testblur

8 years agoscale: Remove priv pointer
Timm Bäder [Tue, 27 Feb 2018 11:39:04 +0000 (12:39 +0100)]
scale: Remove priv pointer

8 years agoemojichooser: Only measure reference emoji once
Timm Bäder [Tue, 27 Feb 2018 10:45:34 +0000 (11:45 +0100)]
emojichooser: Only measure reference emoji once

Doing that once for every emoji is pretty slow and unnecessary as the
width does not change.

8 years agoentry: Add motion controller
Timm Bäder [Tue, 27 Feb 2018 10:05:04 +0000 (11:05 +0100)]
entry: Add motion controller

Do the mouse cursor un-obscuring in the ::motion handler instead of in
the ->event handler. We don't get rid of the GtkWidgetClass::event
handler altogether that way, but it's a step in the right direction.

8 years agospinbutton: Fold function into only caller
Timm Bäder [Mon, 26 Feb 2018 19:23:45 +0000 (20:23 +0100)]
spinbutton: Fold function into only caller

8 years agospinbutton: Remove unused macro
Timm Bäder [Mon, 26 Feb 2018 18:59:59 +0000 (19:59 +0100)]
spinbutton: Remove unused macro

8 years agocheckbutton: Don't reorder non-existent indicator widget
Timm Bäder [Mon, 26 Feb 2018 17:06:04 +0000 (18:06 +0100)]
checkbutton: Don't reorder non-existent indicator widget

8 years agoentry: Check gdk_event_get_coords return value
Timm Bäder [Mon, 26 Feb 2018 11:14:10 +0000 (12:14 +0100)]
entry: Check gdk_event_get_coords return value

We use the x/y values later on to decide what to do with the event.

8 years agoentry: Allocate icons at full height
Timm Bäder [Mon, 26 Feb 2018 11:29:11 +0000 (12:29 +0100)]
entry: Allocate icons at full height

Makes for a larger hit area for pointing devices. If vertical centering
is still desired, GtkWidget:halign can be set on the icon widgets.

8 years agowidget: Simplify set_style_context
Timm Bäder [Mon, 26 Feb 2018 07:42:38 +0000 (08:42 +0100)]
widget: Simplify set_style_context

No need to use widget->priv later if we already define a priv pointer
before.

8 years agobutton: Remove priv pointer
Timm Bäder [Sun, 25 Feb 2018 10:29:33 +0000 (11:29 +0100)]
button: Remove priv pointer

This way we can also move the GtkButtonPrivate definition into
gtkbutton.c

8 years agofilechooserwidget: Make the location entry hexpand
Timm Bäder [Sat, 24 Feb 2018 09:49:44 +0000 (10:49 +0100)]
filechooserwidget: Make the location entry hexpand

8 years agotextview: Use content size when validating contents
Timm Bäder [Sat, 24 Feb 2018 09:49:30 +0000 (10:49 +0100)]
textview: Use content size when validating contents

8 years agocontentsformat: Avoid a GPtrArray
Timm Bäder [Sat, 24 Feb 2018 07:40:41 +0000 (08:40 +0100)]
contentsformat: Avoid a GPtrArray

We know how many items this array will have in advance, so just malloc
enough.

8 years agowidget: Remove some unneeded prototypes
Timm Bäder [Sat, 24 Feb 2018 06:56:48 +0000 (07:56 +0100)]
widget: Remove some unneeded prototypes

8 years agofix the build
Matthias Clasen [Sun, 25 Feb 2018 02:44:03 +0000 (21:44 -0500)]
fix the build

8 years agoUpdate docs for changed options
Matthias Clasen [Sat, 24 Feb 2018 06:01:30 +0000 (01:01 -0500)]
Update docs for changed options

8 years agoUpdate docs for immodules
Matthias Clasen [Sat, 24 Feb 2018 05:51:00 +0000 (00:51 -0500)]
Update docs for immodules

8 years agoAlways include platform immodules
Matthias Clasen [Fri, 23 Feb 2018 19:59:49 +0000 (14:59 -0500)]
Always include platform immodules

No need to load these as gio modules, we just include
them in libgtk.

8 years agoConvert immodules to use an extension point
Matthias Clasen [Mon, 19 Feb 2018 23:29:00 +0000 (18:29 -0500)]
Convert immodules to use an extension point

Add an extension point called gtk-im-module, which requires
the type GtkIMContext. Simplify the loading by using GIO
infrastructure. Drop the locale filtering for now, I don't
think it is really necessary nowadays.

Convert existing platform modules to gio modules.
Sill to do: Drop the conditional build machinery.
Either always include them, or never.

8 years agoDon't mention papi in options docs
Matthias Clasen [Sat, 24 Feb 2018 06:02:17 +0000 (01:02 -0500)]
Don't mention papi in options docs

The papi print backend has been removed.

8 years agoAdd some debug output to print backend loading
Matthias Clasen [Sat, 24 Feb 2018 05:44:21 +0000 (00:44 -0500)]
Add some debug output to print backend loading

8 years agoREADME.md: Minor updates
Matthias Clasen [Sat, 24 Feb 2018 23:06:51 +0000 (18:06 -0500)]
README.md: Minor updates

8 years agowidget: Don't export propagate_hierarchy_changed
Timm Bäder [Fri, 23 Feb 2018 21:14:38 +0000 (22:14 +0100)]
widget: Don't export propagate_hierarchy_changed